<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>welcome to bluej's home</title>
</head>
<body>
	欢迎<%="true".equals(String.valueOf(session.getAttribute("login"))) ? session
					.getAttribute("userId") : ""%>先生/女士

	<div></div>
	<div>
		<br> <a href="<%=request.getContextPath()%>/login.jsp"> 登录 </a> <br>
		<br> <a href="<%=request.getContextPath()%>/servlet/logout"> 退出 </a> <br>
	</div>
</body>
</html>